<title>系统功能</title>
<div class="layui-card layadmin-header">
    <div class="layui-breadcrumb" lay-filter="breadcrumb">
        <a lay-href="">主页</a>
        <a><cite>设置</cite></a>
        <a><cite>功能配置</cite></a>
    </div>
</div>
<div class="layui-col-xs12 layui-col-sm8 layui-col-md8 layui-col-md-offset2 layui-col-sm-offset2">
    <div class="layui-field-box">
        <div class="layui-card">
            <div class="layui-card-header">功能配置</div>
            <div class="layui-card-body">
                <form class="layui-form layui-form-pane" action="" lay-filter="function">
                    <div class="layui-form-item"><label class="layui-form-label" style="width: 150px !important;
                        text-align: center !important;">默认调用次数</label>
                        <div class="layui-input-block" style="margin-left: 150px !important;"><input type="number"
                                name="degree" value="100" lay-verify="required" lay-reqText="默认调用次数不能为空！"
                                lay-verType="tips" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item"><label class="layui-form-label" style="width: 150px !important;
                        text-align: center !important;">签到随机范围</label>
                        <div class="layui-input-block" style="margin-left: 150px !important;"><input type="text"
                                name="random" value="1,10" lay-verify="required" lay-reqText="签到随机范围不能为空！"
                                lay-verType="tips" autocomplete="off" placeholder="1,3代表在1到3之间随机" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item" pane=""><label class="layui-form-label" style="width: 150px !important;
                            text-align: center !important;">用户需绑定邮箱</label>
                        <div class="layui-input-block" style="margin-left: 150px !important;"><input type="checkbox"
                                name="must_mail" lay-skin="switch" title="开关">
                        </div>
                    </div>
                    <div class="layui-form-item" pane=""><label class="layui-form-label" style="width: 150px !important;
                        text-align: center !important;">新增站点邮件通知</label>
                        <div class="layui-input-block" style="margin-left: 150px !important;"><input type="checkbox"
                                name="sendadmin" lay-skin="switch" title="开关">
                        </div>
                    </div>
                    <div class="layui-form-item layui-form-text">
                        <label class="layui-form-label">限制新增站点域名(域名未授权将无法回调)</label>
                        <div class="layui-input-block">
                            <select name="domain">
                                <option value="off" selected="">关闭</option>
                                <option value="on">开启</option>
                            </select>
                        </div>
                    </div>
                    <div class="layui-form-item layui-form-text">
                        <label class="layui-form-label">用户IP地址获取方式</label>
                        <div class="layui-input-block">
                            <select name="ip" id="selectip">
                            </select>
                        </div>
                    </div>
                    <div class="layui-form-item layui-form-text">
                        <label class="layui-form-label">监控站点是否对接本站</label>
                        <div class="layui-input-block">
                            <select name="dock">
                                <option value="off" selected="">关闭</option>
                                <option value="on">开启</option>
                            </select>
                        </div>
                    </div>
                    <div class="layui-form-item layui-form-text"><label class="layui-form-label">基础最大站点数</label>
                        <div class="layui-input-block"><input type="number" name="sitemax" placeholder="每个用户开通站点的最大数量"
                                lay-verify="required" lay-reqText="最大值不能为空！" autocomplete="off" lay-verType="tips"
                                value="3" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item" pane=""><label class="layui-form-label" style="width: 150px !important;
                        text-align: center !important;">用户快捷登陆</label>
                        <div class="layui-input-block" style="margin-left: 150px !important;"><input type="checkbox"
                                name="loginuser" lay-skin="switch" title="开关">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <div class="layui-input-block">
                            <div class="layui-col-xs8 layui-col-md6 layui-col-md-offset2"><button type="submit"
                                    class="layui-btn layui-btn-default layui-btn-fluid" lay-submit=""
                                    lay-filter="save_function">修改</button>
                            </div>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
<script>
    layui.use('set', layui.factory('set'));
</script>